public class hellogit {
    public static void main(String[] args) {
        System.out.println("Hello Git!");
        //比较两个值的大小
        int a = 10;
        int b = 20;
        if (a > b) {
            System.out.println("a大于b");
        }else {
            System.out.println("a小于b");
        }
        //计算1-5的和
        int sum = 0;
        for (int i = 1; i <= 5; i++) {
            sum += i;
        }
        System.out.println("1-5的和为：" + sum);
        //输出1-5的乘积
        int product = 1;
        for (int i = 1; i <= 5; i++) {
            product *= i;
        }
        System.out.println("66666666666666666");
        System.out.println("1-5的乘积为：" + product);
    }
}
